<?php
include ('template/header.php');
?>
<script>
    function validarNum(e)
    {
        tecla = (document.all) ? e.keyCode : e.which;
        if (tecla == 8) return true;
        patron = /[0-9\,\.]/;
        te = String.fromCharCode(tecla);
        return patron.test(te);
    }
</script>
<div id="content">
    <div id="breadcrumb">Inicio &raquo; Agregar Empresa</div>
    <div id="titulo">Agregar Empresa</div>

    <form name="forma1" method="POST" action="agregar_empresa2.php" enctype="multipart/form-data">
        <div align="center">
            <table cellpadding="0" cellspacing="0" width="600" height="228">
                <tr>
                    <td><b><font face="Calibri" size="2">Nombre: </font></b></td>
                    <td height="25"><label>
                            <input type="text"  maxlength="60" name="nombre" size="25" class="campo">
                        </label></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Ramo o Sector: </font></b></td>
                    <td height="25"><label>
                            <select name="ramo">
                                <option value="Industrial(X)">Industrial</option>
                                <option value="Privado(X)">Privado</option>
                                <option value="Publico(X)">Publico</option>
                                <option value="Servicios(X)">Servicios</option>
                                <option value="Gobierno Federal"> Gobierno Federal </option>
                                <option value="Gobierno Estatal"> Gobierno Estatal </option>
                                <option value="Otro(X)">Otro</option>
                            </select>
                        </label>							</td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">RFC: </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="25" name="rfc" size="25" class="campo" ></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Direcci&oacute;n:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="direccion" size="40" class="campo" ></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Colonia:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="colonia" size="40" class="campo" ></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Codigo postal:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="cp" size="40" class="campo" onKeyPress="return validarNum(event)"></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Telefono(Fax):
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="10" name="tel1" size="10" class="campo" onKeyPress="return validarNum(event)"></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Telefono(NO celular):
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="10" name="tel2" size="10" class="campo" onKeyPress="return validarNum(event)"></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Ciudad:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="ciudad" size="40" class="campo" ></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Encargado:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="encargado" size="25" class="campo" ></td>
                </tr>
                <tr>
                    <td><b><font face="Calibri" size="2">Puesto:
                            </font></b></td>
                    <td height="25">
                        <input type="text"  maxlength="40" name="puestot" size="40" class="campo" ></td>
                </tr>


                <tr>
                    <td><input type="submit" value="Guardar" name="B1" class="boton">
                        <input type="reset" value="Limpiar" name="B2" class="boton"></td>
                    <td height="25">
                        <p align="left">
                            </td>
                </tr>
            </table>
        </div>
    </form>

</div>
